<div class="slide-dialog-header">
	<h2>{{title}}</h2>
	<div class="slide-dialog-toolbar">
		<ul>
			<li><span class="ui-btn slide-dialog-close" ng-click="close(false)"><i class="fa fa-remove"></i></span></li>
		</ul>
	</div>
</div>
<div class="slide-dialog-body x-slide-dialog-body">
	<div class="x-data-panel-fixed">
		<form name="form" novalidate="novalidate" ng-submit="submit(form.$valid);">
			<div class="x-data-panel-body">
				<div class="x-data-layout">
					<div class="x-data-aside">
						<div class="x-tree-panel">
							<div kendo-tree-view="tree" k-options="treeOptions">
			                    <span class="k-node" k-template>
			                         <i class="fa fa-folder-open"></i> {{dataItem.text}}
			                     </span>
			                 </div>
						</div>
					</div>
					<div class="x-data-main">
						<div class="data-form">
							<dl>
								<dt><span class="x-star">*</span>目录名称：</dt>
								<dd>
									<input type="text" name="name" ng-model="data.name" class="x-ipt" placeholder="请输入目录名称" required />
									<div class="x-error" ng-if="interacted(form.name)" ng-messages="form.name.$error">
		                                <span ng-message="required">目录名称不能为空</span>
		                            </div>
								</dd>
							</dl>
							<dl>
								<dt>备注：</dt>
								<dd><textarea ng-model="data.desc" class="x-ipt" rows="8"></textarea></dd>
							</dl>
						</div>
					</div>
				</div>
			</div>
			<div class="x-data-panel-footer">
				<button class="dialog-button cancel-button" type="button" ng-click="close(false)">取消</button><button class="dialog-button" type="submit" ng-disabled="formDisabled">提交</button>
			</div>
		</form>
	</div>
</div>